﻿using AutoMapper;
using Navigant.DataContracts;
using Navigant.Model.PreservationNotices;

namespace Navigant.Mapping
{
    public class PreservationNoticeConverter : ITypeConverter<PreservationNotice, PreservationNoticeContract>
    {
        #region ITypeConverter<PreservationNotice,PreservationNoticeContract> Members

        public PreservationNoticeContract Convert(PreservationNotice source)
        {
            return Converter.ToPreservationNoticeContract(source);
        }

        #endregion
    }
}
